﻿@helper RenderTopNavigation()
{
  if (Request.IsAuthenticated)
    {
      
      AceSoft.RetailPlus.Models.PageNavigationModel.DetectCurrentPage();
          
        <ul id="nav">
	        <li class="@AceSoft.RetailPlus.Models.PageNavigationModel.Loans">
            <a href="#">Loans <span class="down-indicator"></span></a>
    	        <ul>
                    <li><a href="/Loans/Dashboard">Loan / Credit Dashboard</a></li>
			        <li><a href="/Loans/Borrowers">Borrowers</a></li>
                    <li><a href="/Loans/Areas">Areas</a></li>
                    <li><a href="/Loans/Charges">Charges</a></li>
		        </ul>
            </li>

            <li>|</li>

	        <li class="@AceSoft.RetailPlus.Models.PageNavigationModel.Reports">
            <a href="#">Reports <span class="down-indicator"></span></a>
                            <ul>
					            <li><a href="#">Loans <span class="right-indicator"></span></a>
						            <ul>
							            <li><a href="/Reports/BorrowersList">Borrower’s List</a></li>
						            </ul>
					            </li>
                            </ul>
	        </li>

             <li>|</li>

	        <li class="@AceSoft.RetailPlus.Models.PageNavigationModel.AdministrationFiles">
            <a href="#">Administration files <span class="down-indicator"></span></a>
		        <ul>
			        <li><a href="/Administrationfiles/UserAccessGroups">Access Groups and Users</a> </li>
		        </ul>
	        </li>	
            <li class="clear"></li>
        </ul>
    }
}

